package license

import (
	"context"

	v1 "gitee.com/liangziyisheng/caas-platform-mc/api/license/v1"
	"gitee.com/liangziyisheng/caas-platform-mc/internal/consts"
)

func (c *ControllerV1) Status(ctx context.Context, req *v1.StatusReq) (res *v1.StatusRes, err error) {
	// return nil, gerror.NewCode(gcode.CodeNotImplemented)
	res = &v1.StatusRes{}
	res.Data = append(res.Data, consts.LicenseStatus[:]...)
	return res, nil
}
